In [9]:
import requests
import json

In [10]:
keyword = "python"
location = "sf"

link = "https://jobs.github.com/positions.json?description=" + keyword + "&location=" + location

print(link)


https://jobs.github.com/positions.json?description=python&location=sf

In [ ]:
r = requests.get(link)
#print(r.text)

In [17]:
jobs = json.loads(r.text)
print(jobs[0]['title'])


Siri Hadoop Operations Engineer - 39893138

In [19]:
jobs[0].keys()


Out[19]:
dict_keys(['how_to_apply', 'id', 'company_url', 'type', 'company', 'location', 'title', 'created_at', 'url', 'company_logo', 'description'])

In [20]:
for job in jobs:
    print(job['title'], job['url'])


Siri Hadoop Operations Engineer - 39893138 http://jobs.github.com/positions/3ec1afb2-be1b-11e5-88be-33231d172737
Siri Server Quality Engineer - 44159510 http://jobs.github.com/positions/f426e094-be1a-11e5-8ac2-b35bed6549f3
Senior Siri Development Operations Engineer - 42148024 http://jobs.github.com/positions/ab56c140-be1a-11e5-86d6-8fab503c19cf
Software Test Engineer/SDET - Maps Tiles - 44823206 http://jobs.github.com/positions/d62482f6-be18-11e5-8e35-a4aef84297ff
Software Engineer http://jobs.github.com/positions/b461b6a8-be17-11e5-9ec4-6ba8467a1e93
Senior Software Engineer (Core) http://jobs.github.com/positions/b6179c0a-9ebf-11e5-8ada-ae3e62465b64
 Principal Engineer / Architect - San Francisco  http://jobs.github.com/positions/bc4a5fba-b94d-11e5-8617-9838ce8c6cc2
Front End Engineer - Maps - 43288758 http://jobs.github.com/positions/07ccc1f2-b8a0-11e5-9ff8-386b0793d5db
Software Engineer, File Systems http://jobs.github.com/positions/ace7d67a-b587-11e5-9bc6-f8dc1550d798
Sr. iOS Engineer http://jobs.github.com/positions/98b12b76-b333-11e5-80c7-802b26978bd8
Sr Backend Engineer http://jobs.github.com/positions/d6a0fa1c-b331-11e5-8033-cee9233e3990

In [21]:
for job in jobs:
    if "Front End" in job['title']:
        print(job['title'], job['url'])


Front End Engineer - Maps - 43288758 http://jobs.github.com/positions/07ccc1f2-b8a0-11e5-9ff8-386b0793d5db

In [22]:
for job in jobs:
    if "Java" in job['description']:
        print(job['title'])


Siri Hadoop Operations Engineer - 39893138
Siri Server Quality Engineer - 44159510
Senior Siri Development Operations Engineer - 42148024
Software Test Engineer/SDET - Maps Tiles - 44823206
Software Engineer
 Principal Engineer / Architect - San Francisco 
Front End Engineer - Maps - 43288758
Sr Backend Engineer

In [ ]: